#include<cstdio>
//#include<conio.h>
#include<cmath>
int main()
{
	double m=0,n=0;
	for(;m<=162;m++)
	{
		n=(162-m)/2;
		if(floor(n)!=n)
			continue;
		if(4*m+3*n>290&&4*m+3*n<306)
		{
			printf("m:%.1lf\nn:%.1lf\na:%.1lf\n\n",m,n,4*m+3*n);
		}
	}
	//getch();
	return 0;
}
